<!--导航条 start-->
<?php use yii\helpers\Url; ?>

<div class="GR-topnav">
    <div class="jz clearfix">
        <div class="fl">
            <a href="<?php echo Yii::$app->session['kpi_identity'] == 1 ? Yii::$app->params['web_url'].'/user/default/list.html' : Yii::$app->params['web_url'].'/user/default/index.html' ?>">
                <img class="logo-GR" src="<?php echo Yii::$app->params['theme_url']; ?>/images/chindor.png" alt=""/>
            </a>
            
        </div> 
        <?php if (Yii::$app->session['kpi_identity'] == 1): ?>
        	<ul class="GR-topnav_r fr" style="display: block">
	            <li><img class="" style="margin-top:19px;margin-right:-15px" src="<?php echo Yii::$app->params['theme_url']; ?>/images/touxiang.png" alt=""/><a href="<?php echo Yii::$app->params['web_url']; ?>/user/default/list.html"><?php echo Yii::$app->session['kpi_name'] ?></a></li>
	            <li><a href="<?php echo Yii::$app->params['web_url']; ?>/user/default/logout.html"><i
                            class="fa fa-repeat fa-fw"></i>安全退出</a></li>
	        </ul>

	    <?php endif; ?>
    </div>
</div>  
<!--导航条 end